isConvex

abstract fun isConvex(): Boolean(source)

Checks if the polygon is convex.

A polygon is convex if all interior angles are less than 180 degrees.

Return

True if the polygon is convex, false otherwise.